text break css

44

/* If you don't know why your line is breaking or you just want to make sure
this doesn't happen, add the CSS bellow: */
white-space: nowrap;

/* Example: */
/* HTML: */
<p>This is a paragraph<p>
/* CSS: */
p { white-space: nowrap; }
.example {
  overflow-wrap: break-word;
}
/* Schlüsselwortwerte */
word-break: normal; 
word-break: break-all; 
word-break: keep-all;

/* Globale Werte */
word-break: inherit;
word-break: initial;
word-break: unset;

Comments

Submit
0 Comments